﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class _Default : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        using(ServiceReferencePcInfo.PcInfoServiceClient client = new ServiceReferencePcInfo.PcInfoServiceClient())
        {
            this.Label2.Text = client.GetStartUpTime().ToString();
        }
    }
    protected void ShutdownClick(object sender, EventArgs e)
    {
        using(ServiceReferencePcInfo.PcInfoServiceClient client = new ServiceReferencePcInfo.PcInfoServiceClient())
        {
            client.ShutDown();
        }
    }
    protected void CancelClick(object sender, EventArgs e)
    {
         using(ServiceReferencePcInfo.PcInfoServiceClient client = new ServiceReferencePcInfo.PcInfoServiceClient())
        {
            client.CancelShutDown();
        }
    }
    protected void Next_Click(object sender, EventArgs e)
    {

    }
}